﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>


<%@ Import Namespace="System.Collections.ObjectModel" %>
<%@ Import Namespace="DoubanApi.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	新片介绍
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../../Scripts/jquery.ellipsis.js" type="text/javascript"></script>
    <link href="../Content/NewMovie.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/MovieList.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function () {
            $('.text_overflow').wordLimit(75);
            $('.writer_overflow').wordLimit(40);

            
        })
</script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div  class="PageContent">
        <a class="MenuTitle">新片介绍</a><br /><br />
        <div>
            <% var newmovies = ViewData["NewMovies"] as List<MovieModel>; %>
            <% Html.RenderPartial("NewMoviesList", newmovies); %>
        </div>
    </div>
</asp:Content>


